package com.qf.weekwork.entity;

import java.util.Date;
import javax.persistence.*;

@Table(name = "user_token")
public class UserToken {
    @Id
    private Integer id;

    @Column(name = "appId")
    private Integer appid;

    @Column(name = "cusId")
    private Integer cusid;

    @Column(name = "access_token")
    private String accessToken;

    @Column(name = "expireTime")
    private Date expiretime;

    @Column(name = "startTime")
    private Date starttime;

    /**
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * @return appId
     */
    public Integer getAppid() {
        return appid;
    }

    /**
     * @param appid
     */
    public void setAppid(Integer appid) {
        this.appid = appid;
    }

    /**
     * @return cusId
     */
    public Integer getCusid() {
        return cusid;
    }

    /**
     * @param cusid
     */
    public void setCusid(Integer cusid) {
        this.cusid = cusid;
    }

    /**
     * @return access_token
     */
    public String getAccessToken() {
        return accessToken;
    }

    /**
     * @param accessToken
     */
    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    /**
     * @return expireTime
     */
    public Date getExpiretime() {
        return expiretime;
    }

    /**
     * @param expiretime
     */
    public void setExpiretime(Date expiretime) {
        this.expiretime = expiretime;
    }

    /**
     * @return startTime
     */
    public Date getStarttime() {
        return starttime;
    }

    /**
     * @param starttime
     */
    public void setStarttime(Date starttime) {
        this.starttime = starttime;
    }
}